package com.wei.web.middleware.retry.compensate.distribution;

/**
 * @author shihuimiao
 * create time: 下午8:40
 */
public class NodeSliceModel {

    private Integer num;

    private Integer total;

    public NodeSliceModel(Integer num, Integer total) {
        this.num = num;
        this.total = total;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "NodeSliceModel{" +
                "num=" + num +
                ", total=" + total +
                '}';
    }
}
